package spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.beans.factory.annotation.Qualifier;

@Target({ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER})   
@Retention(RetentionPolicy.RUNTIME)   
@Qualifier  
public @interface DataSourceType {
	String ip();      //指定ip,用于多数据源情况   
	DataBase database();
}
